<template>
  <div>
    <van-swipe :autoplay="3000" lazy-render>
  <van-swipe-item v-for="image in images" :key="image">
    <img :src="image" />
  </van-swipe-item>
</van-swipe>
  </div>
</template>
<script>
export default {
  setup() {
    const images = [
    "/src/assets/宝岛一村.png",
    "/src/assets/hello.png",
    "/src/assets/音乐节大盘点.png",
    "/src/assets/伯爵.png",
    "/src/assets/日出.png",

    ];
    return { images };
  },
};
</script>
<style lang="scss">
.van-swipe-item{
  height:104px ;
  img{
    height: 104px;
  }
}
.van-swipe{
  padding-left: 1rem;
}
</style>
